export const formItems = [
  {
    filed: 'name',
    type: 'input',
    label: '任务名称'
  },
  {
    filed: 'memberName',
    type: 'input',
    label: '用户信息',
    placeholder: '请输入关联人员姓名/手机号'
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}

export const rules = {
  name: [
    { required: true, message: '请输入名称', trigger: 'blur' }
  ],
  types: [
    { type: 'array', required: true, message: '请选择消费类型', trigger: 'change' }
  ],
  ratio: [
    { required: true, message: '请输入佣金比例，0-100', trigger: 'blur' }
  ],
  beginMoney: [
    { required: true, message: '请输入最小订单金额', trigger: 'blur' }
  ],
  orderNum: [
    { required: true, message: '请输入返佣订单最大笔数', trigger: 'blur' }
  ],
  shareUsers: [
    { required: true, message: '请输入名称', trigger: 'change' }
  ],
  shareFm: [
    { required: true, message: '请选择分享封面', trigger: 'change' }
  ],
  sharePic: [
    { required: true, message: '请选择海报模板 ', trigger: 'change' }
  ],
  postion: [
    { required: true, message: '请选择二维码位置', trigger: 'change' }
  ],
  sortNum: [
    { required: true, message: '请选择排序码', trigger: 'blue' }
  ]

}
